﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

/// <summary>
/// ShowSPScriptClass 的摘要描述
/// </summary>
namespace Chi.Show.SP
{
    public class ShowSPScriptClass:System.Web.IHttpHandler
    {
        public ShowSPScriptClass()
        {
            //
            // TODO: 在此加入建構函式的程式碼
            //
        }

        #region IHttpHandler 成員

        public bool IsReusable
        {
            get { return false; }
        }

        public void ProcessRequest(HttpContext context)
        {
            //採用網路封裝資訊
            HttpResponse resp = context.Response;
            HttpRequest req = context.Request;

            string selectedSP = req.Form["ddlSP"];

            resp.Write(selectedSP);

        }

        #endregion
    }
}